﻿
namespace MagicWatering.Interfaces
{
    public interface IWateringController
    {
        bool StartCommunication();
        bool StopCommunication();
        bool SetChannelState(int channelId, bool value);
        bool GetChannelState(int channelId, out bool value);
        void ChangeControllerIp(string newIpAddress);
        int LastError
        {
            get; 
        }
    }
}
